package com.kjc.demo.rcservice.app;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.kjc.demo.rcservice.dto.req.DocDownloadRecordReqDTO;
import com.kjc.demo.rcservice.dto.res.DocDownloadRecordResDTO;
import com.kjc.demo.rcservice.service.DocDownloadRecordService;
import com.sdhs.paas.sdk.core.PaasBaseRequest;
import com.sdhs.paas.sdk.core.PaasBaseResponse;
import com.sdhs.paas.sdk.core.RefreshableRestController;

/**
 * @author DocDownloadRecord
 * @version 1.0
 * @Title:  代码生成接口，用于接受前端传输过来的数据
 * @author kangjichang
 * @date 2018-12-04
 */
 
@RefreshableRestController
@RequestMapping(value = "/docDownloadRecord")
public class DocDownloadRecordController {

    @Autowired
    private DocDownloadRecordService docDownloadRecordService;
    
    /**
     * 分页查询接口
     * */
    @PostMapping("/getDocDownloadRecordPageList")
	public PaasBaseResponse<DocDownloadRecordResDTO> getDocDownloadRecordPageList(@RequestBody PaasBaseRequest<DocDownloadRecordReqDTO> docDownloadRecordReqDTO) {
		return null;
	}
	
	/**
	 * 保存接口
	 * */
	@PostMapping("/saveDocDownloadRecord")
	public PaasBaseResponse<DocDownloadRecordResDTO> saveDocDownloadRecord(@RequestBody PaasBaseRequest<DocDownloadRecordReqDTO> docDownloadRecordReqDTO) {
		return null;
	}
	
	/**
	 * 修改接口
	 * */
	@PostMapping("/updateDocDownloadRecord")
	public PaasBaseResponse<DocDownloadRecordResDTO> updateDocDownloadRecord(@RequestBody PaasBaseRequest<DocDownloadRecordReqDTO> docDownloadRecordReqDTO) {
		return null;
	}
	
	/**
	 * 获取详情接口
	 * */
	@PostMapping("/getDocDownloadRecordDetail")
	public PaasBaseResponse<DocDownloadRecordResDTO> getDocDownloadRecordDetail(@RequestBody PaasBaseRequest<DocDownloadRecordReqDTO> docDownloadRecordReqDTO) {
		return null;
	}
	
	/**
	 * 删除接口
	 * */
	@PostMapping("/deleteDocDownloadRecord")
	public PaasBaseResponse<DocDownloadRecordResDTO> deleteDocDownloadRecord(@RequestBody PaasBaseRequest<DocDownloadRecordReqDTO> docDownloadRecordReqDTO) {
		return null;
	}
}
